package AnalisadorLexico;

/**
 * Contém as expressões regulares que reconhecem
 * os tokens.
 * @author Fábio Novais
 */
public class ExpressaoRegular
{
    //Adicionar aqui as expressões regulares de cada token.

    private static String TDDESCRIPTION = "^@description$";
    private static String TDAUTHOR = "^@author$";
    private static String TDSINCE = "^@since$";
    private static String TDVERSION = "^@version$";
    private static String TDPARAM = "^@param$";
    private static String TDSEE = "^@see$";
    private static String TDDEPRECATED = "^@deprecated$";
    private static String TDRETURN = "^@return$";
    private static String TTFIXME = "^FIXME$";
    private static String TTTODO = "^TODO$";
    private static String TEMAIL = "^<([\\w]{1,}[\\._-]?)+@[a-z0-9]{1,}[\\.][a-z]{2,}(\\.[a-z]{2,})?>$";
    private static String TDATE = "^(19|20)\\d\\d([- /.])(0[1-9]|1[012])\\2(0[1-9]|[12][0-9]|3[01])$";
    private static String TVERSION = "^[\\d.]+$";
    private static String TSTRING = "\"(.*?)\"";
    private static String TPARAM = "^[a-z]{1,}(\\d|[a-z])*$";
    private static String TBOOL = "^(true|false)$";
    private static String TCLASS = "^([A-Z]{1}([a-z])*)$";
    private static String TMETHOD = "^([a-z]{1,})$";
    private static String TDATATYPE = "^(Integer|Boolean|Object|String|Float)$";
    private static String TSEP = "^,$";
    private static String DEFMEHTOD = "def [a-z]{1,}.*";
    private static String DEFCLASS = "class ([A-Z]{1}([a-z])*).*";
    private static String TID = "^([a-z]{1,}(\\d|[a-z]))|(true|false)$";

    public static String getTBOOL()
    {
        return TBOOL;
    }

    public static String getTCLASS()
    {
        return TCLASS;
    }

    public static String getTDATATYPE()
    {
        return TDATATYPE;
    }

    public static String getTDATE()
    {
        return TDATE;
    }

    public static String getTDAUTHOR()
    {
        return TDAUTHOR;
    }

    public static String getTDDEPRECATED()
    {
        return TDDEPRECATED;
    }

    public static String getTDDESCRIPTION()
    {
        return TDDESCRIPTION;
    }

    public static String getTDPARAM()
    {
        return TDPARAM;
    }

    public static String getTDRETURN()
    {
        return TDRETURN;
    }

    public static String getTDSEE()
    {
        return TDSEE;
    }

    public static String getTDSINCE()
    {
        return TDSINCE;
    }

    public static String getTDVERSION()
    {
        return TDVERSION;
    }

    public static String getTEMAIL()
    {
        return TEMAIL;
    }

    public static String getTTFIXME()
    {
        return TTFIXME;
    }

    public static String getTMETHOD()
    {
        return TMETHOD;
    }

    public static String getTPARAM()
    {
        return TPARAM;
    }

    public static String getTSTRING()
    {
        return TSTRING;
    }

    public static String getTTTODO()
    {
        return TTTODO;
    }

    public static String getTVERSION()
    {
        return TVERSION;
    }

    public static String getTSEP()
    {
        return TSEP;
    }

    public static String getDEFMEHTOD()
    {
        return DEFMEHTOD;
    }

    public static String getDEFCLASS()
    {
        return DEFCLASS;
    }

    public static String getTID()
    {
        return TID;
    }
}
